package org.example.carsystem.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.carsystem.domain.SysDictData;
import org.example.carsystem.domain.SysDictType;
import org.example.carsystem.domain.vo.DictTypeVo;
import org.example.carsystem.service.DictTypeService;

import java.util.Date;
import java.util.List;

@Mapper
public interface DictTypeMapper {

    List<SysDictType> dictTypeSelect(@Param("dictName") String dictName,@Param("dictType") String dictType,@Param("status")  String status,@Param("createStartTime")  Date createStartTime,@Param("createEndTime")  Date createEndTime);

    List<DictTypeVo> dictTypeSelectAll();

    List<SysDictType> listAll(SysDictType type);

    List<SysDictType> list();

    SysDictType selectById(Long dictId);

    Integer addtype(SysDictType type);

    Integer updatetype(SysDictType type);

    Integer removetype(String dictType);
}
